Carbon


MPDeleteCriticalRegion

Header: Multiprocessing.h Carbon status: Supported

Removes the specified critical region object.

OSStatus MPDeleteCriticalRegion (
    MPCriticalRegionID criticalRegion
);
criticalRegion

The critical region object you want to remove.

function result

A result code.

DISCUSSION

Calling this function unblocks all tasks waiting to enter the critical region and their respective MPEnterCriticalRegion calls will return with the result code kMPDeletedErr.

Also see the function MPCreateCriticalRegion.

VERSION NOTES

Introduced with Multiprocessing Services 1.0.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)